﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.ITcSoaAssignDataFromTcService
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using System.Runtime.InteropServices;


namespace DnProcessSimulateCommands;

[ComVisible(true)]
[Guid("FC2A544D-AACA-4B99-BE2F-6AE9F3C7D451")]
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
internal interface ITcSoaAssignDataFromTcService
{
  void StartSearch(
    [MarshalAs(UnmanagedType.BStr), In] string scopeUid,
    [MarshalAs(UnmanagedType.BStr), In] string itemIdSearchCriteria,
    [MarshalAs(UnmanagedType.BStr), In] string itemRevisionNameSearchCriteria,
    [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_BSTR), In] string[] allowedRevisionTypes,
    [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_BSTR), In] string[] requiredObjectProperties,
    out long finished,
    [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out TcSoaModelObjectData[] objects);

  void NextSearch(out long finished, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out TcSoaModelObjectData[] objects);

  void StopSearch();

  void GetProperties(
    [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_BSTR), In] string[] objectUids,
    [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_BSTR), In] string[] requiredObjectProperties,
    [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_RECORD)] out TcSoaModelObjectData[] objects);

  void ComputeCloneStableIdChain([MarshalAs(UnmanagedType.BStr), In] string objectUid, [MarshalAs(UnmanagedType.BStr)] out string objectCloneStableIdChain);

  void ComputeMultipleCloneStableIdChains([MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_BSTR), In] string[] lineUidList, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_BSTR)] out string[] lineChainList);

  void EndSession();
}
